import 'package:dmz/business/find/controller/find_main_controller.dart';
import 'package:dmz/business/find/page/find_main_page.dart';
import 'package:dmz/business/home/controller/add_moto_controller.dart';
import 'package:dmz/business/home/controller/code_scan_result_controller.dart';
import 'package:dmz/business/home/controller/home_main_controller.dart';
import 'package:dmz/business/home/controller/home_page_ctcs.dart';
import 'package:dmz/business/home/controller/map_controller.dart';
import 'package:dmz/business/home/controller/map_locus_controller.dart';
import 'package:dmz/business/home/controller/run_message_controller.dart';
import 'package:dmz/business/home/controller/set_infor_controller.dart';
import 'package:dmz/business/home/controller/set_moto_controller.dart';
import 'package:dmz/business/home/controller/shanre_details_controller.dart';
import 'package:dmz/business/home/controller/share_moto_controller.dart';
import 'package:dmz/business/home/page/add_message.dart';
import 'package:dmz/business/home/page/add_moto_page.dart';
import 'package:dmz/business/home/page/map_fence_page.dart';
import 'package:dmz/business/home/page/map_location_page.dart';
import 'package:dmz/business/home/page/map_locus_page.dart';
import 'package:dmz/business/home/page/map_navigation_page.dart';
import 'package:dmz/business/home/page/map_serve_page.dart';
import 'package:dmz/business/home/page/ota_record_page.dart';
import 'package:dmz/business/home/page/run_message_page.dart';
import 'package:dmz/business/home/page/set_infor_moto_page.dart';
import 'package:dmz/business/home/page/set_infor_run_page.dart';
import 'package:dmz/business/home/page/set_name_page.dart';
import 'package:dmz/business/home/page/code_scan_result.dart';
import 'package:dmz/business/home/page/home_main_page.dart';
import 'package:dmz/business/home/page/home_page_cs.dart';
import 'package:dmz/business/home/page/main_page.dart';
import 'package:dmz/business/home/page/set_moto_page.dart';
import 'package:dmz/business/home/page/set_parms_page.dart';
import 'package:dmz/business/home/page/set_payment_page.dart';
import 'package:dmz/business/home/page/set_purchase_page.dart';
import 'package:dmz/business/home/page/set_transfer_page.dart';
import 'package:dmz/business/home/page/shanre_details_page.dart';
import 'package:dmz/business/home/page/share_contacts_page.dart';
import 'package:dmz/business/home/page/share_input_page.dart';
import 'package:dmz/business/home/page/share_moto_page.dart';
import 'package:dmz/business/login/contorller/login_main_controller.dart';
import 'package:dmz/business/login/contorller/login_password_controller.dart';
import 'package:dmz/business/login/page/login_first_page.dart';
import 'package:dmz/business/login/page/login_main_page.dart';
import 'package:dmz/business/login/page/login_password_page.dart';
import 'package:dmz/business/mine/controller/mine_main_controller.dart';
import 'package:dmz/business/mine/page/garage_main_page.dart';
import 'package:dmz/business/mine/page/lose_address_input.dart';
import 'package:dmz/business/mine/page/lose_list_page.dart';
import 'package:dmz/business/mine/page/lose_select_moto.dart';
import 'package:dmz/business/mine/page/lose_updata_page.dart';
import 'package:dmz/business/mine/page/mine_main_page.dart';
import 'package:dmz/business/mine/page/news_center_page.dart';
import 'package:dmz/business/mine/page/news_details_page.dart';
import 'package:dmz/business/mine/page/select_moto_page.dart';
import 'package:dmz/business/mine/page/seting_about_page.dart';
import 'package:dmz/business/mine/page/seting_chang_phone.dart';
import 'package:dmz/business/mine/page/seting_change_password.dart';
import 'package:dmz/business/mine/page/seting_feedback_page.dart';
import 'package:dmz/business/mine/page/seting_languge_change.dart';
import 'package:dmz/business/mine/page/seting_main_page.dart';
import 'package:dmz/business/mine/page/seting_name_page.dart';
import 'package:dmz/business/mine/page/seting_repair_new.dart';
import 'package:dmz/business/mine/page/seting_repair_page.dart';
import 'package:get/get.dart';

import '../business/home/controller/ota_record_controller.dart';

class RouteGet {
  ///root page
  static const String main = "/main";
  static const String home = "/home";
  static const String map = "/map";
  static const String homecs = "/homecs";
  static const String find = "/find";
  static const String mine = "/mine";
  static const String login = "/login";
  static const String loginFirst = "/loginFirst";
  static const String password = "/password";
  static const String addBicke = "/addBicke";
  static const String scanResult = "/scanResult";
  static const String shareKey = "/shareKey";
  static const String shareInput = "/shareInput";
  static const String shareDetails = "/shareDetails";
  static const String shareContacts = "/shareContacts";
  static const String setMoto = "/setMoto";
  static const String changeName = "/changeName";
  static const String changeParms = "/changeParms";
  static const String setOperation = "/setOperation";
  static const String setMotoInfor = "/setMotoInfor";
  static const String motoLocation = "/motoLocation";
  static const String motoNavigation = "/motoNavigation";
  static const String runMessage = "/runMessagePage";
  static const String mapLocus = "/mapLocus";
  static const String servePoitn = "/servePoitn";
  static const String garagePage = "/garagePage";
  static const String newsCenterPage = "/newsCenter";
  static const String lostUpdata = "/lostUpdata";
  static const String newsDetails = "/newsDetails";
  static const String motoSelect = "/motoSelect";
  static const String addressInput = "/addressInput";
  static const String loseHistory = "/loseHistory";
  static const String seting = "/seting";
  static const String setingName = "/setingName";
  static const String setingPhone = "/setingPhone";
  static const String setingPassword = "/setingPassword";
  static const String setingFeedback = "/setingFeedback";
  static const String setingAboutUs = "/setingAboutUs";
  static const String setingRepair = "/setingRepair";
  static const String repairAdd = "/repairAdd";
  static const String selectMoto = "/selectMoto";
  static const String motoRecord = "/motoRecord";
  static const String transferMoto = "/transferMoto";
  static const String changeLanguage = "/changeLanguage";
  static const String purchase = "/purchase";
  static const String payment = "/payment";
  static const String addProblem = "/addProblem";

  ///pages map
  static final List<GetPage> getPages = [
    GetPage(name: home, page: () => const HomePage(), binding: HomeBinding()),
    GetPage(name: login, page: () => LoginPage(), binding: LoginBinding()),
    GetPage(
        name: homecs, page: () => const HomePagecs(), binding: HomeBindingcs()),
    GetPage(name: loginFirst, page: () => const LoginFirstPage()),
    GetPage(
        name: password, page: () => PassWordPage(), binding: PassWordBinding()),
    GetPage(name: find, page: () => const FindPage(), binding: FindBinding()),
    GetPage(name: mine, page: () => const MinePage(), binding: MineBinding()),
    GetPage(name: main, page: () => const MainPage(), binding: MainBinding()),
    GetPage(
        name: addBicke,
        page: () => const AddBickePage(),
        binding: AddBikeBinding()),
    GetPage(
        name: scanResult,
        page: () => const CodeScanResultPage(),
        binding: CodeScanResultBinding()),
    GetPage(
        name: shareKey,
        page: () => const ShartMotoPage(),
        binding: ShareMotoBinding()),
    GetPage(
        name: shareInput,
        page: () => const SharInputPage(),
        binding: ShareMotoBinding()),
    GetPage(
        name: shareDetails,
        page: () => const ShartDetailsPage(),
        binding: ShareDetailsBinding()),
    GetPage(
        name: shareContacts,
        page: () => const ShartContactsPage(),
        binding: ShareMotoBinding()),
    GetPage(
        name: setMoto,
        page: () => SetMotoMainPage(),
        binding: SetMotoBinding()),
    GetPage(
        name: changeName,
        page: () => ChangeMotoName(),
        binding: SetMotoBinding()),
    GetPage(
        name: changeParms,
        page: () => ChangeParmsPage(),
        binding: SetMotoBinding()),
    GetPage(
        name: setOperation,
        page: () => OperationInformation(),
        binding: SetMotoBinding()),
    GetPage(
        name: setMotoInfor,
        page: () => SetMotoInforPage(),
        binding: SetMotoInforBinding()),
    GetPage(name: map, page: () => const MapPage(), binding: MapBinding()),
    GetPage(
        name: motoLocation,
        page: () => MotoLocationPage(),
        binding: HomeBinding()),
    GetPage(
        name: motoNavigation,
        page: () => MotoNavigationPage(),
        binding: HomeBinding()),
    GetPage(
        name: runMessage,
        page: () => const MotoRunMessagePage(),
        binding: RunMessageBinding()),
    GetPage(
        name: mapLocus,
        page: () => const MapLocusPage(),
        binding: MapLocusBinding()),
    GetPage(
        name: servePoitn,
        page: () => const MapServePointPage(),
        binding: HomeBinding()),
    GetPage(
        name: garagePage,
        page: () => const GaragePage(),
        binding: HomeBinding()),
    GetPage(
        name: newsCenterPage,
        page: () => const NewsCenterPage(),
        binding: MineBinding()),
    GetPage(
        name: lostUpdata,
        page: () => const LostUpdataPage(),
        binding: MineBinding()),
    GetPage(
        name: newsDetails,
        page: () => const NewsDetailsPage(),
        binding: MineBinding()),
    GetPage(
        name: motoSelect,
        page: () => const LostSelectMotoPage(),
        binding: MineBinding()),
    GetPage(
        name: addressInput,
        page: () => const LostInputAddressPage(),
        binding: MineBinding()),
    GetPage(
        name: loseHistory,
        page: () => const LoseHistoryPage(),
        binding: MineBinding()),
    GetPage(
        name: seting,
        page: () => const MineSetingPage(),
        binding: MineBinding()),
    GetPage(
        name: setingName,
        page: () => const SetingNaamePage(),
        binding: MineBinding()),
    GetPage(
        name: setingPhone,
        page: () => const SetChangePhonePage(),
        binding: MineBinding()),
    GetPage(
        name: setingPassword,
        page: () => const SetChangePasswordPage(),
        binding: MineBinding()),
    GetPage(
        name: setingFeedback,
        page: () => const FeedBackPage(),
        binding: MineBinding()),
    GetPage(
        name: setingAboutUs,
        page: () => const SetAboutUsPage(),
        binding: MineBinding()),
    GetPage(
        name: setingRepair,
        page: () => const SetingRepairPage(),
        binding: MineBinding()),
    GetPage(
        name: repairAdd,
        page: () => const AddNewRepairPgae(),
        binding: MineBinding()),
    GetPage(
        name: selectMoto,
        page: () => const SelectMotoPage(),
        binding: MineBinding()),
    GetPage(
        name: transferMoto,
        page: () => const TransferPage(),
        binding: SetMotoInforBinding()),
    GetPage(
        name: changeLanguage,
        page: () => ChangeLanguage(),
        binding: MineBinding()),
    GetPage(
        name: motoRecord,
        page: () => OtaRecordPage(),
        binding: SetOtaRecordBinding()),
    GetPage(
        name: purchase,
        page: () => const SetPurchasePage(),
        binding: SetMotoBinding()),
    GetPage(
        name: payment,
        page: () => const SetPaymentPage(),
        binding: SetMotoBinding()),
    GetPage(
        name: addProblem,
        page: () => const AddProblemPage(),
        binding: AddBikeBinding()),
  ];
}
